package cn.edu.zut.hhr.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 评论
 * </p>
 *
 * @author HHR
 * @since 2021-08-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Comment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 内容
     */
    private String content;

    /**
     * 文章id
     */
    private Long aid;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 父评论id
     */
    private Long pid;

    /**
     * 回复用户的id
     */
    private Long toUid;

}
